<template>
<div class="">
<criteria partial='criteria' @show-con = "pocon" v-ref:cri>
  <div  partial>
      <div class="col-sm-12 "  style="margin-top:10px;">
        <div class="col-sm-3 col-sm-offset-1">
          <input type="number" class="form-control" v-model="model.infochange_info.f_userinfo_id"  condition="f_state ='{}'" placeholder="表编号" v-next-el='abc' v-filter v-focus/>
        </div>
        <div class="col-sm-3 col-sm-offset-1">
          <input type="number" class="form-control" v-model="model.infochange_info.f_user_id"  condition="f_state ='{}'" placeholder="用户编号" v-next-el='abc' v-filter v-focus/>
        </div>
        <div class="col-sm-3 col-sm-offset-1">
         <v-select id="f_operat_type"
         v-model="model.record.f_operat_type"
         placeholder='操作类型'
         condition="f_state ='{}'"
         :value.sync="model.record.f_operat_type"
         :options='operatType'
         close-on-select clear-button>
         </v-select>
        </div>
      </div>
      <div class="col-sm-12 "  style="margin-top:10px;">
        <!-- <div class="col-sm-3 col-sm-offset-1">
          <input type="text" class="form-control" v-model="model.infochange_info.f_operator" condition="f_state ='{}'"  placeholder="操作人"/>
        </div> -->
        <div class="col-sm-3 col-sm-offset-1">
          <input type="text" class="form-control" v-model="model.infochange_info.f_used_content"  condition="f_state ='{}'" placeholder="修改前内容" />
        </div>
        <div class="col-sm-3 col-sm-offset-1">
          <input type="text" class="form-control" v-model="model.infochange_info.f_new_content"  condition="f_state ='{}'" placeholder="修改后内容"/>
        </div>
      </div>
      <div class="col-sm-12 "  style="margin-top:10px;">

      </div>
  </div>
</criteria>
</div>
</template>
<script>
export default {
  props: ['msgtype'],
  data () {
    return {
      operatType: [{label: '抄表员变更', value: '抄表员变更'},
                  {label: '气价变更', value: '气价变更'}
                ],
      model: {
        infochange_info: {
          f_operate_date: ''
        },
        record: {
          f_operat_type: ''
        }
      }
    }
  },
  methods: {
    reset () {
      Object.assign(this.$data, this.$options.data())
    }
  }
}
</script>
